<template>
  <div style="width: 100%; height: 100vh; overflow: hidden">
    <div style="width: 400px; margin: 100px auto">
      <div class="zt">
        <span>学生学籍管理系统</span>
      </div>
      <div class="ck">
        <el-form ref="formRef" :model="form" size="normal" :rules="rules">
          <el-form-item prop="username">
            <span>账号</span>
            <el-input v-model="form.username" prefix-icon="avatar"></el-input>
          </el-form-item>
          <el-form-item prop="password">
            <span>密码</span>
            <el-input v-model="form.password" prefix-icon="lock" show-password></el-input>
          </el-form-item>
          <el-form-item>
            <el-button type="primary" @click="submit">登录</el-button>
          </el-form-item>
        </el-form>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "login",
  data(){
    return{
      form:{},
    }
  },
  methods:{
    submit(){

    }
  }
}
</script>

<style scoped>
.zt{

}
</style>
